<?php
App::uses('AppModel', 'Model');
/**
 * OperatingSystem Model
 *
 * @property MobileBase $MobileBase
 */
class OperatingSystem extends AppModel {
		public $displayField = 'operating_system_name';
    public $validate = array(
        'operating_system_name' => array(
            'maxLength' => array(
                'rule' => array('maxLength',20),
                //'message' => 'Your custom message here',
                //'allowEmpty' => false,
                //'required' => false,
                //'last' => false, // Stop validation after this rule
                //'on' => 'create', // Limit validation to 'create' or 'update' operations
            ),
        ),
    );

	//The Associations below have been created with all possible keys, those that are not needed can be removed

/**
 * hasMany associations
 *
 * @var array
 */
	public $hasMany = array(
		'MobileBase' => array(
			'className' => 'MobileBase',
			'foreignKey' => 'operating_system_id',
			'dependent' => false,
			'conditions' => '',
			'fields' => '',
			'order' => '',
			'limit' => '',
			'offset' => '',
			'exclusive' => '',
			'finderQuery' => '',
			'counterQuery' => ''
		)
	);

}
